package com.sunnay.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sunnay.entity.UserBidEntity;
import com.sunnay.vo.auth.SystemUser;
import com.sunnay.vo.common.Page;
import com.sunnay.vo.small.SmallQueryVo;
import com.sunnay.vo.small.SmallResponseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserBidMapper extends BaseMapper<UserBidEntity> {
    /**
     * 随机30个小号
     */
    List<UserBidEntity> smallList();
    /**
     * 小号列表
     * @param userAccountId
     * @param page
     * @param queryVo
     * @return
     */
    List<SmallResponseVo> smallLists(@Param("userAccountId") Long userAccountId,@Param("page") Page page,@Param("queryVo") SmallQueryVo queryVo);

}
